package createpattern.factory.abstractfactory;

import createpattern.factory.abstractfactory.product.Coffee;
import createpattern.factory.abstractfactory.product.Dessert;
import createpattern.factory.abstractfactory.product.LatteCoffee;
import createpattern.factory.abstractfactory.product.TiramisuDessert;
/**
 * 具体工厂-意大利风味甜点工厂
 * */
public class ItalyDessertFactory implements DessertFactory{
    @Override
    public Coffee createCoffee() {
        return new LatteCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new TiramisuDessert();
    }
}
